module.exports={
  assetsDir:'static',
  publicPath:'./',
  devServer: {
      host: 'localhost',
      port: 8080,
      proxy: {
          '/apis': {
          target: 'http://127.0.0.1:3000', //接口域名
          changeOrigin: true,
          ws: true,
          pathRewrite: {
              '^/apis': ''
          }
        },
      },
  },
}